package com.ctg.edas.demo;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestHeader;

@FeignClient(name = "apponeservice")
public interface AppOneFeign {

    @GetMapping(value = "/demo/hp1")
    String hp1(@RequestHeader("userId") String userId);

}
